package com.xc.erp.modules.erp.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.xc.erp.modules.erp.domain.dto.JshAccountParam;
import com.xc.erp.modules.erp.domain.pojo.JshAccount;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 *
 */
public interface JshAccountService extends IService<JshAccount> {

    IPage<JshAccount> listPageAccount(Integer page, Integer limit, JshAccountParam jshAccountParam);

    boolean batchUpdateStatus(boolean status, Long[] ids);

    boolean checkAccountByName(String name);

    boolean updateByIsDefault(Long id, boolean isDefault);
}
